package com.gyj.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("spring-boot-saas-user")
public interface UserFeign {

	@GetMapping("/user/{token}")
	public Long tenantIdByToken(@PathVariable("token") String token);
}
